package com.youka.bussiness.service.res;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.NoArgsConstructor;

/**
 * 用户信息表 表实体
 *
 * @author lfc
 * @date 2024-06-30 16:47:28
 */
@Data
@ApiModel(value = "用户信息表出参")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoDto{
private static final long serialVersionUID=1L;

    
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Integer id;
        
    /**
     * 微信授权ID
     */
    @ApiModelProperty(value = "微信授权ID")
    private String wxAuthId;
        
    /**
     * 微信昵称
     */
    @ApiModelProperty(value = "微信昵称")
    private String wxName;
        
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    private String phone;
        
    /**
     * 注册时间
     */
    @ApiModelProperty(value = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime regTime;
        
    /**
     * 订单数量
     */
    @ApiModelProperty(value = "订单数量")
    private Integer orderCount;
        
    /**
     * 订单总额
     */
    @ApiModelProperty(value = "订单总额")
    private BigDecimal orderAmount;
        
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
        
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
    }
